package us.quizgame.database;

public class Question
{
	private String question;
	private String correctAnswer;
	private String wrongAnswer;
	
	
	//Accessors/Mutators
	public String getQuestion()
	{
		return question;
	}
	public void setQuestion(String question)
	{
		this.question = question;
	}
	public String getCorrectAnswer()
	{
		return correctAnswer;
	}
	public void setCorrectAnswer(String correctAnswer)
	{
		this.correctAnswer = correctAnswer;
	}
	public String getWrongAnswer()
	{
		return wrongAnswer;
	}
	public void setWrongAnswer(String wrongAnswer)
	{
		this.wrongAnswer = wrongAnswer;
	}
	
	public String toString()
	{
		return String.format("%s - %s - %s", question, correctAnswer, wrongAnswer);
	}
	
	public Question(String question, String correctAnswer, String wrongAnswer)
	{
		this.question = question;
		this.correctAnswer = correctAnswer;
		this.wrongAnswer = wrongAnswer;
	}
    
	
}
